cmake_minimum_required(VERSION 3.10)  #cmake版本最低3.10

project(test)  #添加当前项目名称

set(CMAKE_CXX_STANDARD 11) #设置C++标准

# add_subdirectory(socket_test)
# add_subdirectory(buffer_test)

# NOTE: 联合测试epoller和channel结合
# add_subdirectory(epoller_channel_test)

# NOTE: 测试eventloop，此时上面epoller_channel_test将失效
# 因为更改了channel的实现，将其中的epoller指针改为eventloop指针
# add_subdirectory(eventloop_test)

# NOTE: 测试connection
# add_subdirectory(connection_test)

# NOTE: 测试acceptor
add_subdirectory(acceptor_test)

# NOTE: 测试loopthreadpool
# add_subdirectory(loopthreadpool_test)

# add_subdirectory(TcpServer_test)